<template>
  <view>
    <view class="qrcode">
      <view
        v-for="(row, rowI) in modules"
        :key="rowI"
        style="display: flex; flex-direction: row"
      >
        <view v-for="(col, colI) in row" :key="colI">
          <view
            v-if="col.isBlack"
            style="width: 7px; height: 7px; background-color: black"
          >
            <!-- 黑色码点 -->
          </view>
          <view
            v-else
            style="width: 7px; height: 7px; background-color: white"
          >
            <!-- 白色码点 -->
          </view>
        </view>
      </view>
    </view>
    
  </view>
</template>

<script>
export default {
  props: ["modules"],
  data() {
    return {};
  },
  methods: {},
};
</script>